home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Database
/
AddressBook
/
Source
/
AddressView.h
< prev
next >
Wrap
Text File
|
1992-07-09
|
1KB
|
40 lines
/* AddressView.h:
* You may freely copy, distribute, and reuse the code in this example.
* NeXT disclaims any warranty of any kind, expressed or implied, as to its
* fitness for any particular use.
*
* Written by: Mai Nguyen, NeXT Developer Support
*
*/
#import <appkit/ScrollView.h>
@interface AddressView:ScrollView
{
id controller; /* outlet to the Controller instance */
id cellMatrix; /* matrix of textfield cells */
id lnameField; /* last name textfield */
id fnameField; /* first name textfield */
id phoneField; /* phone textfield */
id ssnField; /* author SSN textfield */
id addressField; /* street address textfield */
id stateField; /* state of residence textfield */
id zipField; /* zip code textfield */
id cityField; /* city textfield */
id aValue; /* a DBValue instance to look at record contents */
id aValue2;
}
- initFrame:(const NXRect *)frameRect;
- free;
- cellMatrix;
- (int )getNewRow;
- loadCellsFrom:sender;
- showInfo:sender;
- addRecordFrom:sender at:(unsigned) index;
- updateRecordFrom:sender at:(unsigned) index;
- deleteSelectedRecord:sender;
- setNewRecordFrom:sender at:(unsigned)index;
@end